home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
4_0
/
LIFE6__
/
PROTO
/
RM_P_LIF.R
next >
Wrap
Text File
|
1991-08-16
|
18KB
|
565 lines
*********************************************************
*
* RMaker resource file sources.
* File: RM_P_Life6.R
* History: 8/16/91 Original by Prototyper 3.0
* This file contains the sources for all the resources except for Pictures, plugins.
*
*********************************************************
*
*
* Name and type for the output file (This is appended to the existing file) :
!Life6.╣.RSRC
* Include Prototyper Resource data file
INCLUDE P_Life6.RSRC
* Include the user Resource data file
INCLUDE U_Life6.RSRC
*
*
*
***********************************************************
***********************************************************
***********************************************************
*
* This is the definition for the WINDOW.
*
Type WIND
*
,256 ;;Resource ID
Life 4a ;;Window title
61 130 261 380 ;;Top Left Bottom Right
InVisible GoAway ;;Visible GoAway
4 ;;ProcID, Window def ID
256 ;;Refcon, reference value
*
*
*
* This is the CONTROL item list.
*
Type CNTL
*
GO ,276 ;;Resource ID
GO! ;;Title for a Button
172 84 192 164 ;;Top Left Bottom Right
Visible ;;Initially visible
0 ;;ProcID (Control definition ID)
276 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot1_1 ,257 ;;Resource ID
Rect hotspot1-1 ;;Title for a hotspot or Rect
53 62 68 77 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
257 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot1_2 ,258 ;;Resource ID
Rect hotspot1-2 ;;Title for a hotspot or Rect
53 78 68 93 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
258 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot1_3 ,259 ;;Resource ID
Rect hotspot1-3 ;;Title for a hotspot or Rect
53 94 68 109 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
259 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot1_4 ,263 ;;Resource ID
Rect hotspot1-4 ;;Title for a hotspot or Rect
53 110 68 125 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
263 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot1_5 ,264 ;;Resource ID
Rect hotspot1-5 ;;Title for a hotspot or Rect
53 126 68 141 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
264 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot1_6 ,265 ;;Resource ID
Rect hotspot1-6 ;;Title for a hotspot or Rect
53 142 68 157 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
265 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot1_7 ,266 ;;Resource ID
Rect hotspot1-7 ;;Title for a hotspot or Rect
53 158 68 173 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
266 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot1_8 ,267 ;;Resource ID
Rect hotspot1-8 ;;Title for a hotspot or Rect
53 174 68 189 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
267 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot2_1 ,268 ;;Resource ID
Rect hotspot2-1 ;;Title for a hotspot or Rect
69 62 84 77 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
268 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot2_2 ,269 ;;Resource ID
Rect hotspot2-2 ;;Title for a hotspot or Rect
69 78 84 93 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
269 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot2_3 ,270 ;;Resource ID
Rect hotspot2-3 ;;Title for a hotspot or Rect
69 94 84 109 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
270 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot2_4 ,271 ;;Resource ID
Rect hotspot2-4 ;;Title for a hotspot or Rect
69 110 84 125 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
271 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot2_5 ,272 ;;Resource ID
Rect hotspot2-5 ;;Title for a hotspot or Rect
69 126 84 141 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
272 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot2_6 ,273 ;;Resource ID
Rect hotspot2-6 ;;Title for a hotspot or Rect
69 142 84 157 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
273 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot2_7 ,274 ;;Resource ID
Rect hotspot2-7 ;;Title for a hotspot or Rect
69 158 84 173 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
274 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot2_8 ,275 ;;Resource ID
Rect hotspot2-8 ;;Title for a hotspot or Rect
69 174 84 189 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
275 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot3_1 ,277 ;;Resource ID
Rect hotspot3-1 ;;Title for a hotspot or Rect
85 62 100 77 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
277 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot3_2 ,278 ;;Resource ID
Rect hotspot3-2 ;;Title for a hotspot or Rect
85 78 100 93 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
278 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot3_3 ,279 ;;Resource ID
Rect hotspot3-3 ;;Title for a hotspot or Rect
85 94 100 109 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
279 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot3_4 ,280 ;;Resource ID
Rect hotspot3-4 ;;Title for a hotspot or Rect
85 110 100 125 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
280 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot3_5 ,281 ;;Resource ID
Rect hotspot3-5 ;;Title for a hotspot or Rect
85 126 100 141 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
281 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot3_6 ,282 ;;Resource ID
Rect hotspot3-6 ;;Title for a hotspot or Rect
85 142 100 157 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
282 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot3_7 ,283 ;;Resource ID
Rect hotspot3-7 ;;Title for a hotspot or Rect
85 158 100 173 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
283 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot3_8 ,284 ;;Resource ID
Rect hotspot3-8 ;;Title for a hotspot or Rect
85 174 100 189 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
284 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot4_1 ,285 ;;Resource ID
Rect hotspot4-1 ;;Title for a hotspot or Rect
101 62 116 77 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
285 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot4_2 ,286 ;;Resource ID
Rect hotspot4-2 ;;Title for a hotspot or Rect
101 78 116 93 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
286 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot4_3 ,287 ;;Resource ID
Rect hotspot4-3 ;;Title for a hotspot or Rect
101 94 116 109 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
287 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot4_4 ,288 ;;Resource ID
Rect hotspot4-4 ;;Title for a hotspot or Rect
101 110 116 125 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
288 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot4_52 ,289 ;;Resource ID
Rect hotspot4-5 ;;Title for a hotspot or Rect
101 126 116 141 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
289 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot4_6 ,290 ;;Resource ID
Rect hotspot4-6 ;;Title for a hotspot or Rect
101 142 116 157 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
290 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot4_7 ,291 ;;Resource ID
Rect hotspot4-7 ;;Title for a hotspot or Rect
101 158 116 173 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
291 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot4_8 ,292 ;;Resource ID
Rect hotspot4-8 ;;Title for a hotspot or Rect
101 174 116 189 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
292 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot5_1 ,293 ;;Resource ID
Rect hotspot5-1 ;;Title for a hotspot or Rect
117 62 132 77 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
293 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot5_2 ,294 ;;Resource ID
Rect hotspot5-2 ;;Title for a hotspot or Rect
117 78 132 93 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
294 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot5_3 ,295 ;;Resource ID
Rect hotspot5-3 ;;Title for a hotspot or Rect
117 94 132 109 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
295 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot5_4 ,296 ;;Resource ID
Rect hotspot5-4 ;;Title for a hotspot or Rect
117 110 132 125 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
296 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot5_5 ,297 ;;Resource ID
Rect hotspot5-5 ;;Title for a hotspot or Rect
117 126 132 141 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
297 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot5_6 ,298 ;;Resource ID
Rect hotspot5-6 ;;Title for a hotspot or Rect
117 142 132 157 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
298 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot5_7 ,299 ;;Resource ID
Rect hotspot5-7 ;;Title for a hotspot or Rect
117 158 132 173 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
299 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot5_8 ,300 ;;Resource ID
Rect hotspot5-8 ;;Title for a hotspot or Rect
117 174 132 189 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
300 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot6_1 ,301 ;;Resource ID
Rect hotspot6-1 ;;Title for a hotspot or Rect
133 62 148 77 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
301 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot6_2 ,305 ;;Resource ID
Rect hotspot6-2 ;;Title for a hotspot or Rect
133 78 148 93 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
305 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot6_3 ,306 ;;Resource ID
Rect hotspot6-3 ;;Title for a hotspot or Rect
133 94 148 109 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
306 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot6_4 ,307 ;;Resource ID
Rect hotspot6-4 ;;Title for a hotspot or Rect
133 110 148 125 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
307 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot6_5 ,308 ;;Resource ID
Rect hotspot6-5 ;;Title for a hotspot or Rect
133 126 148 141 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
308 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot6_6 ,309 ;;Resource ID
Rect hotspot6-6 ;;Title for a hotspot or Rect
133 142 148 157 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
309 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot6_7 ,310 ;;Resource ID
Rect hotspot6-7 ;;Title for a hotspot or Rect
133 158 148 173 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
310 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
Rect_hotspot6_8 ,311 ;;Resource ID
Rect hotspot6-8 ;;Title for a hotspot or Rect
133 174 148 189 ;;Top Left Bottom Right
Visible ;;Initially visible
2064 ;;ProcID (Control definition ID)
311 ;;RefCon (reference value)
0 1 0 ;;Min Max Value
*
Type STR#
*
Static_Text ,313 ;;Resource ID for Static text
1 ;;Number of strings
Click in a box to place a live cell. ;;The string
Static_Text2 ,314 ;;Resource ID for Static text
1 ;;Number of strings
Click on GO to compute the next ;;The string
Static_Text3 ,315 ;;Resource ID for Static text
1 ;;Number of strings
Generation. ;;The string
*
***********************************************************
***********************************************************
***********************************************************
*
* This is the definition for the DIALOG, About Life
*
Type DLOG
*
,257 ;;Resource ID
About Life ;;Dialog title
70 130 181 459 ;;Top Left Bottom Right
Invisible NoGoAway ;;Invisible GoAway
1 ;;ProcID, dialog def ID
257 ;;Refcon, reference value
257 ;;ID of item list
*
*
*
* This is the item list.
*
Type DITL
*
,257 ;;Resource ID
2 ;;Number of controls in list
Button Enabled ;;Push button
83 125 103 205 ;;Top Left Bottom Right
Big Deal ;;message
staticText Disabled ;;Static text
19 10 70 324 ;;Top Left Bottom Right
I used Think C & Prototyper 3.0\0DNot much to look at but the code is kinda cool,\0D'specially the code the array.;;message
*
Type STR#
*
Static_Text ,316 ;;Resource ID for Static text
1 ;;Number of strings
I used Think C & Prototyper 3.0
Not much to look at but the code is kinda cool,
'specially the code the array.;;The string
*
***********************************************************
***********************************************************
***********************************************************
*
* This is the definition for the MENU.
*
Type MENU
*
*************** Standard Menus follow *********************
*
,256 ;;Resource ID
\14 ;;APPLE menu title
About Life... ;;item title
(- ;;
File,257 ;;Resource ID
File ;;menu title
(New/N ;;item title
(Open.../O ;;item title
(- ;;
(Close ;;item title
(Save/S ;;item title
(Save As... ;;item title
(Revert to Saved ;;item title
(- ;;
(Page Setup... ;;item title
(Print... ;;item title
(- ;;
Quit/Q ;;item title
Edit,258 ;;Resource ID
Edit ;;menu title
(Undo/Z ;;item title
(- ;;
(Cut/X ;;item title
(Copy/C ;;item title
(Paste/V ;;item title
(Clear ;;item title
(Select All ;;item title
(- ;;
(Show Clipboard ;;item title
Life Stuff,259 ;;Resource ID
Life Stuff ;;menu title
Reset/r ;;item title
Continuous/c ;;item title